<%-- 
    Document   : login
    Created on : 2015-3-15, 20:47:33
    Author     : Administrator
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>用户登陆</title>
    </head>
    <body>
        <center>
        <h1>用户登录</h1>
        <form action="Login.jsp" method="post">
            <table>
                <tr>
                    <td>用户名</td>
                    <td><input type="text" name="username" size="20" maxlength="20"/></td>
                </tr>               
                <tr>
                    <td>密码</td>
                    <td><input type="password" name="pass" size="20" maxlength="32"/></td>
                </tr>
                   <tr>
                    <td>验证码：</td>
                    <td><input type="text" style="width: 100px;height: 20px;" name="code"/>
                        <img ID="confirmImage" src="image.jsp" border="0"
                             onclick="javascript:confirmImage.src=confirmImage.src+'?1';"
                             title="看不清，点击刷新">
                    </td>
                </tr>
                <tr>
                    <td><input type="reset"  value="重置"/></td>
                    <td><input type="submit"  value="提交"/></td>
                </tr>
                  <tr>
                    <td><input type="button" value="注册" onclick="window.location.href='register.jsp'"/></td>
                    <td><input type="button" value="管理员" onclick="window.location.href='alogin.jsp'"/></td>
                </tr>
            </table>
        </form>
        
        <br>  <br>  
       <%String notice = (String) request.getAttribute("notice");%>
        <%if (notice != null) {%> <%=notice%><%}%> 
        
    </center>
    </body>
</html>
